<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <body>
        <script type="module">
            import axios from './Query.js'
            // axios.get('hd.php', {
            //     success(response) {
            //         console.log(response)
            //     },
            // })
            axios.config({
                host: 'http://e19.test/js/1.05/',
                type: 'json',
            })
            axios.post(
                'post.php',
                { name: 'tom', year: 2009 },
                {
                    success(response) {
                        console.log(response)
                    },
                }
            )
        </script>
    </body>
</html>
